import request from '@/utils/request'

// 查询知识库列表
export function listT09(query) {
  return request({
    url: '/T09/T09/list',
    method: 'get',
    params: query
  })
}
// 修改知识库
export function updateT09(data) {
  return request({
    url: '/T09/T09',
    method: 'put',
    data: data
  })
}

// 删除知识库
export function delT09(F0901) {
  return request({
    url: '/T09/T09/' + F0901,
    method: 'delete'
  })
}

// 导出知识库
export function exportT09(data, config = {}) {
  return request({
    url: '/knowledge_manage/T09/down',
    method: 'post',
    data: data,
    responseType: 'blob',
    ...config
  })
}
